/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

/** Wrapper for PowerPoint.ExcelApplication*/
public class PpApplication extends JavaScriptObject {

	protected PpApplication() { }


  public native final Presentations getPresentations()/*-{
		return this.Presentations;
	}-*/;

	public native final DocumentWindows getWindows()/*-{
		return this.Windows;
	}-*/;

	public native final JavaScriptObject getDialogs()/*-{
		return this.Dialogs;
	}-*/;

	public native final DocumentWindow getActiveWindow()/*-{
		return this.ActiveWindow;
	}-*/;

	public native final Presentation getActivePresentation()/*-{
		return this.ActivePresentation;
	}-*/;

	public native final SlideShowWindows getSlideShowWindows()/*-{
		return this.SlideShowWindows;
	}-*/;

	public native final CommandBars getCommandBars()/*-{
		return this.CommandBars;
	}-*/;

	public native final String getPath()/*-{
		return this.Path;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final String getCaption()/*-{
		return this.Caption;
	}-*/;

	public native final void setCaption(String value)/*-{
		this.Caption = value;
	}-*/;

	public native final Assistant getAssistant()/*-{
		return this.Assistant;
	}-*/;

	public native final FileSearch getFileSearch()/*-{
		return this.FileSearch;
	}-*/;

	public native final IFind getFileFind()/*-{
		return this.FileFind;
	}-*/;

	public native final String getBuild()/*-{
		return this.Build;
	}-*/;

	public native final String getVersion()/*-{
		return this.Version;
	}-*/;

	public native final String getOperatingSystem()/*-{
		return this.OperatingSystem;
	}-*/;

	public native final String getActivePrinter()/*-{
		return this.ActivePrinter;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final AddIns getAddIns()/*-{
		return this.AddIns;
	}-*/;

	public native final VBE getVBE()/*-{
		return this.VBE;
	}-*/;

	public native final void help(String helpFile, int contextID)/*-{
		this.Help( helpFile, contextID);
	}-*/;

	public native final void quit()/*-{
		this.Quit( );
	}-*/;

	public native final JavaScriptObject run(String macroName,  JsArray safeArrayOfParams)/*-{
		return this.Run( macroName, safeArrayOfParams);
	}-*/;

	public native final JavaScriptObject pPFileDialog(int type)/*-{
		return this.PPFileDialog( type);
	}-*/;

	public native final void launchSpelling(DocumentWindow pWindow)/*-{
		this.LaunchSpelling( pWindow);
	}-*/;

	public native final float getLeft()/*-{
		return this.Left;
	}-*/;

	public native final void setLeft(float value)/*-{
		this.Left = value;
	}-*/;

	public native final float getTop()/*-{
		return this.Top;
	}-*/;

	public native final void setTop(float value)/*-{
		this.Top = value;
	}-*/;

	public native final float getWidth()/*-{
		return this.Width;
	}-*/;

	public native final void setWidth(float value)/*-{
		this.Width = value;
	}-*/;

	public native final float getHeight()/*-{
		return this.Height;
	}-*/;

	public native final void setHeight(float value)/*-{
		this.Height = value;
	}-*/;

	public native final int getWindowState()/*-{
		return this.WindowState;
	}-*/;

	public native final void setWindowState(int value)/*-{
		this.WindowState = value;
	}-*/;

	protected native final int _getVisible()/*-{
		return this.Visible;
	}-*/;

	public final MsoTriState getVisible(){
		return MsoTriState.valueOf(_getVisible());
	}
	protected native final void _setVisible( int value)/*-{
		this.Visible = value;
	}-*/;

	public final void setVisible(MsoTriState value){
		_setVisible(value.getValue());
	}
	public native final int getHWND()/*-{
		return this.HWND;
	}-*/;

	protected native final int _getActive()/*-{
		return this.Active;
	}-*/;

	public final MsoTriState getActive(){
		return MsoTriState.valueOf(_getActive());
	}
	public native final void activate()/*-{
		this.Activate( );
	}-*/;

	public native final AnswerWizard getAnswerWizard()/*-{
		return this.AnswerWizard;
	}-*/;

	public native final COMAddIns getCOMAddIns()/*-{
		return this.COMAddIns;
	}-*/;

	public native final String getProductCode()/*-{
		return this.ProductCode;
	}-*/;

	public native final DefaultWebOptions getDefaultWebOptions()/*-{
		return this.DefaultWebOptions;
	}-*/;

	public native final LanguageSettings getLanguageSettings()/*-{
		return this.LanguageSettings;
	}-*/;

	public native final MsoDebugOptions getMsoDebugOptions()/*-{
		return this.MsoDebugOptions;
	}-*/;

	protected native final int _getShowWindowsInTaskbar()/*-{
		return this.ShowWindowsInTaskbar;
	}-*/;

	public final MsoTriState getShowWindowsInTaskbar(){
		return MsoTriState.valueOf(_getShowWindowsInTaskbar());
	}
	protected native final void _setShowWindowsInTaskbar( int value)/*-{
		this.ShowWindowsInTaskbar = value;
	}-*/;

	public final void setShowWindowsInTaskbar(MsoTriState value){
		_setShowWindowsInTaskbar(value.getValue());
	}
	public native final JavaScriptObject getMarker()/*-{
		return this.Marker;
	}-*/;

	protected native final int _getFeatureInstall()/*-{
		return this.FeatureInstall;
	}-*/;

	public final MsoFeatureInstall getFeatureInstall(){
		return MsoFeatureInstall.valueOf(_getFeatureInstall());
	}
	protected native final void _setFeatureInstall( int value)/*-{
		this.FeatureInstall = value;
	}-*/;

	public final void setFeatureInstall(MsoFeatureInstall value){
		_setFeatureInstall(value.getValue());
	}
	public native final boolean getOptionFlag(int option, boolean persist)/*-{
		return this.GetOptionFlag( option, persist);
	}-*/;

	public native final void setOptionFlag(int option, boolean state, boolean persist)/*-{
		this.SetOptionFlag( option, state, persist);
	}-*/;

	protected native final FileDialog _getFileDialog( int type)/*-{
		return this.FileDialog( type);
	}-*/;

	public final FileDialog getFileDialog(MsoFileDialogType type){
		return _getFileDialog(type.getValue());
	}
	protected native final int _getDisplayGridLines()/*-{
		return this.DisplayGridLines;
	}-*/;

	public final MsoTriState getDisplayGridLines(){
		return MsoTriState.valueOf(_getDisplayGridLines());
	}
	protected native final void _setDisplayGridLines( int value)/*-{
		this.DisplayGridLines = value;
	}-*/;

	public final void setDisplayGridLines(MsoTriState value){
		_setDisplayGridLines(value.getValue());
	}
	protected native final int _getAutomationSecurity()/*-{
		return this.AutomationSecurity;
	}-*/;

	public final MsoAutomationSecurity getAutomationSecurity(){
		return MsoAutomationSecurity.valueOf(_getAutomationSecurity());
	}
	protected native final void _setAutomationSecurity( int value)/*-{
		this.AutomationSecurity = value;
	}-*/;

	public final void setAutomationSecurity(MsoAutomationSecurity value){
		_setAutomationSecurity(value.getValue());
	}
	public native final NewFile getNewPresentation()/*-{
		return this.NewPresentation;
	}-*/;

	public native final int getDisplayAlerts()/*-{
		return this.DisplayAlerts;
	}-*/;

	public native final void setDisplayAlerts(int value)/*-{
		this.DisplayAlerts = value;
	}-*/;

	protected native final int _getShowStartupDialog()/*-{
		return this.ShowStartupDialog;
	}-*/;

	public final MsoTriState getShowStartupDialog(){
		return MsoTriState.valueOf(_getShowStartupDialog());
	}
	protected native final void _setShowStartupDialog( int value)/*-{
		this.ShowStartupDialog = value;
	}-*/;

	public final void setShowStartupDialog(MsoTriState value){
		_setShowStartupDialog(value.getValue());
	}
	public native final void setPerfMarker(int marker)/*-{
		this.SetPerfMarker( marker);
	}-*/;

	public native final AutoCorrect getAutoCorrect()/*-{
		return this.AutoCorrect;
	}-*/;

	public native final Options getOptions()/*-{
		return this.Options;
	}-*/;

	public native final void launchPublishSlidesDialog(String slideLibraryUrl)/*-{
		this.LaunchPublishSlidesDialog( slideLibraryUrl);
	}-*/;

	public native final void launchSendToPPTDialog( Object slideUrls)/*-{
		this.LaunchSendToPPTDialog( slideUrls);
	}-*/;

	public native final boolean getDisplayDocumentInformationPanel()/*-{
		return this.DisplayDocumentInformationPanel;
	}-*/;

	public native final void setDisplayDocumentInformationPanel(boolean value)/*-{
		this.DisplayDocumentInformationPanel = value;
	}-*/;

	public native final IAssistance getAssistance()/*-{
		return this.Assistance;
	}-*/;

	public native final int getActiveEncryptionSession()/*-{
		return this.ActiveEncryptionSession;
	}-*/;

	public native final FileConverters getFileConverters()/*-{
		return this.FileConverters;
	}-*/;

}
